#ifndef __WORKDAY__
#define __WORKDAY__

#include <string>
#include "boost/date_time/posix_time/posix_time.hpp"
#include "boost/regex.hpp"

using namespace std;
using namespace boost;
using namespace boost::posix_time;

struct WorkDay
{
    time_duration hours[4];
    int hours_inserted;
    regex e;

    bool getHour(const string &hour);
    WorkDay() : e("(\\d{1,2}:\\d{1,2})"), hours_inserted(0) {}
};

#endif

